package com.jwsoft.manager.core.integration;

import com.github.pagehelper.PageInfo;
import com.jwsoft.manager.common.vo.eduAppointSchool.EduAppointSchoolKeyVO;
import com.jwsoft.manager.common.vo.eduAppointSchool.EduAppointSchoolQueryVO;
import com.jwsoft.manager.common.vo.eduAppointSchool.EduAppointSchoolVO;
import com.jwsoft.manager.common.vo.eduSchool.EduSchoolQueryVO;
import com.jwsoft.manager.common.vo.eduSchool.EduSchoolVO;

/**
 * 城区E学校维护表业务本地接口
 *
 * @author hhj
 * @since 2022-12-19
 */
public interface EduAppointSchoolIntegration {
    /**
     * 小学学校
     *
     * @param vo
     * @return
     */
    PageInfo<EduSchoolVO> getPrimarySchoolList(EduSchoolQueryVO vo);

    /**
     * 初中学校
     *
     * @param vo
     * @return
     */
    PageInfo<EduSchoolVO> getJuniorSchoolList(EduSchoolQueryVO vo);
    /** e城区学校分页查询 */
    PageInfo<EduAppointSchoolVO> getList(EduAppointSchoolQueryVO vo);
    /** 根据主键查询详情 */
    EduAppointSchoolVO getById(EduAppointSchoolKeyVO vo);
    /** 保存前统一校验*/
    void checkSave(EduAppointSchoolVO vo);
    /** 新增 */
    EduAppointSchoolVO add(EduAppointSchoolVO vo);
    /** 修改 */
    EduAppointSchoolVO edit(EduAppointSchoolVO vo);
    /** 根据主键删除 */
    void del(EduAppointSchoolKeyVO vo);
}
